package mcweb.dto;
 
import java.util.ArrayList;

// new version
public class OrderDTO {
	private int orderId;               
	private String memId;              
	private String orderDate;          
	private int orderTotalPay;         
	private int orderPayType;          
	private int orderTotalProdCount;   
	private int orderStatus;
	private int orderPredictMileage;
	private String orderPayCardType;
	private String orderPayCardNumber;
	private String orderPayCardLimitY;
	private String orderPayCardLimitM;
	private String orderDesc;
	
	private ArrayList<OrderDetailDTO> orderDetailDTOList;
	private DeliveryDTO deliveryDTO;
	
	public OrderDTO() {}
	
	public int getOrderId() {
		return orderId;
	}
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}
	public String getMemId() {
		return memId;
	}
	public void setMemId(String memId) {
		this.memId = memId;
	}
	public String getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}
	public int getOrderTotalPay() {
		return orderTotalPay;
	}
	public void setOrderTotalPay(int orderTotalPay) {
		this.orderTotalPay = orderTotalPay;
	}
	public int getOrderPayType() {
		return orderPayType;
	}
	public void setOrderPayType(int orderPayType) {
		this.orderPayType = orderPayType;
	}
	public int getOrderTotalProdCount() {
		return orderTotalProdCount;
	}
	public void setOrderTotalProdCount(int orderTotalProdCount) {
		this.orderTotalProdCount = orderTotalProdCount;
	}
	public int getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}
	public int getOrderPredictMileage() {
		return orderPredictMileage;
	}
	public void setOrderPredictMileage(int orderPredictMileage) {
		this.orderPredictMileage = orderPredictMileage;
	}

	public String getOrderPayCardType() {
		return orderPayCardType;
	}

	public void setOrderPayCardType(String orderPayCardType) {
		this.orderPayCardType = orderPayCardType;
	}

	public String getOrderPayCardNumber() {
		return orderPayCardNumber;
	}

	public void setOrderPayCardNumber(String orderPayCardNumber) {
		this.orderPayCardNumber = orderPayCardNumber;
	}

	public String getOrderPayCardLimitY() {
		return orderPayCardLimitY;
	}

	public void setOrderPayCardLimitY(String orderPayCardLimitY) {
		this.orderPayCardLimitY = orderPayCardLimitY;
	}

	public String getOrderPayCardLimitM() {
		return orderPayCardLimitM;
	}

	public void setOrderPayCardLimitM(String orderPayCardLimitM) {
		this.orderPayCardLimitM = orderPayCardLimitM;
	}

	public ArrayList<OrderDetailDTO> getOrderDetailDTOList() {
		return orderDetailDTOList;
	}

	public void setOrderDetailDTOList(ArrayList<OrderDetailDTO> orderDetailDTOList) {
		this.orderDetailDTOList = orderDetailDTOList;
	}

	public DeliveryDTO getDeliveryDTO() {
		return deliveryDTO;
	}

	public void setDeliveryDTO(DeliveryDTO deliveryDTO) {
		this.deliveryDTO = deliveryDTO;
	}
	
	public String getOrderDesc() {
		return orderDesc;
	}
	
	public void setOrderDesc(String orderDesc) {
		this.orderDesc = orderDesc;
	}

	@Override
	public String toString() {
		return "OrderDTO [orderId=" + orderId + ", memId=" + memId
				+ ", orderDate=" + orderDate + ", orderTotalPay="
				+ orderTotalPay + ", orderPayType=" + orderPayType
				+ ", orderTotalProdCount=" + orderTotalProdCount
				+ ", orderStatus=" + orderStatus + ", orderPredictMileage="
				+ orderPredictMileage + ", orderPayCardType="
				+ orderPayCardType + ", orderPayCardNumber="
				+ orderPayCardNumber + ", orderPayCardLimitY="
				+ orderPayCardLimitY + ", orderPayCardLimitM="
				+ orderPayCardLimitM + ", orderDesc=" + orderDesc
				+ ", orderDetailDTOList=" + orderDetailDTOList
				+ ", deliveryDTO=" + deliveryDTO + "]";
	}
	
	
}
